<?php
// $Id$

class ManagePrivilegeView extends View
{
    function & execute (&$controller, &$request, &$user)
    {
        $renderer = new Renderer($controller, $request, $user);
        $renderer->setTemplate('manage_privilege.tmpl.php');

        $renderer->setAttribute('username', $user->getAttribute('username'));
        $renderer->setAttribute('list', $request->getAttribute('list'));
        $renderer->setAttribute('searchfield', $request->getParameter('searchfield'));
        $renderer->setAttribute('searchtext', $request->getParameter('searchtext'));

        return $renderer;
    }
}
?>
